#pragma once

#include "Control_StatusBar.h"

namespace gui
{
	class Control_ScrollBar : public Control_StatusBar
	{
	public:
		typedef std::function< void(float) > CallbackSetFloatValue;

		Control_ScrollBar(CallbackGetFloatValue NewCallbackGetValue, CallbackSetFloatValue NewCallbackSetValue, float NewMin, float NewMax, ColorRGBA<unsigned char> NewDisplayColor, std::string NewCaption, Vec<2, float> NewFontSize, ColorRGBA<unsigned char> NewForeColor, ColorRGBA<unsigned char> NewBackColor, Vec<2, float> NewPos, Vec<2, float> NewSize, Control_Menu* NewParentMenu, Host& NewParentHost);
		virtual ~Control_ScrollBar();

	protected:
		virtual void MouseDownLeft();
		virtual void MouseMove();

		CallbackSetFloatValue CallbackSetValue;
	};
}